Piwik\Plugins\CoreAdminHome\CustomLogo S

Total Complexity 50
Dependencies 9
Dependents 9
Total lines 293
Lines of code 179
Logical lines of code 110
Comment lines 28
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
uploadImage()
A
45 10 39
getPathToLogo()
S
55 6 20
isCustomLogoWritable()
S
58 6 14
copyUploadedLogoToFilesystem()
S
58 3 16
hasSVGLogo()
S
66 4 9
copyUploadedFaviconToFilesystem()
S
64 2 10
getBasePath()
S
67 2 8
getLogoUrl()
S
70 1 6
getPathUserLogoSmall()
S
79 1 3
postLogoChangeEvent()
S
72 1 5
hasUserFavicon()
S
80 1 3
hasUserLogo()
S
80 1 3
rewritePath()
S
80 1 3
getPathUserLogo()
S
79 1 3
getPathUserSvgLogo()
S
79 1 3
getPathUserFavicon()
S
79 1 3
getHeaderLogoUrl()
S
70 1 6
isCustomLogoFeatureEnabled()
S
79 1 3
isFileUploadEnabled()
S
79 1 3
disable()
S
79 1 3
enable()
S
79 1 3
isEnabled()
S
80 1 3
getSVGLogoUrl()
S
68 1 7
logoExists()
S
78 1 3